<html>
	<head>
		<title> Approve Events  </title>
  		

	</head>

	
	
	<body>

		<h1> 
 			<font face="Comic Sans MS" >
			Approve Events		
		</h1>
		
<br />

<form name="input" action = "/approve/" method = "POST">
    <TABLE id="dataTable" width="350px" border="1">
        <tr>
			<th> Edit</th>			
			<th> Event Name</th>
			<th> Event ID </th>

	</tr>

		{% for e in newapp %}
		{% if e.isApproved == 0 and e.isRejected == 0 %}
		<tr>
			<TD> <INPUT type = "checkbox" name="pending" value="{{ e.id }}"  >{{ e.id }}</TD>
			<TD> <OUTPUT type = "text" /> {{e.eventName}} </TD>
			<TD> <OUTPUT type = "text" /> {{e.id}} </TD>
		<tr/>
		{% endif %}
		{% endfor %}
    </TABLE>
<INPUT type="submit" value="approve"/>
<INPUT type="submit" value="reject" onclick = "input.action = '/reject/'; return true;" /> 
</form>
	</body>

</html>


